<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TFCMS: AbstractHtmlForm Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TFCMS
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_abstract_html_form.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">AbstractHtmlForm Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AbstractHtmlForm" --><div class="dynheader">
Inheritance diagram for AbstractHtmlForm:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_abstract_html_form.png" usemap="#AbstractHtmlForm_map" alt=""/>
  <map id="AbstractHtmlForm_map" name="AbstractHtmlForm_map">
<area href="class_contact_form.html" alt="ContactForm" shape="rect" coords="0,56,112,80"/>
<area href="class_file_upload_form.html" alt="FileUploadForm" shape="rect" coords="122,56,234,80"/>
<area href="class_text_editor_form.html" alt="TextEditorForm" shape="rect" coords="244,56,356,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a269d5828259282d985bc517b484c0f26">__construct</a> ($name=&quot;htmlform&quot;, $method=&quot;post&quot;, $action=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a189a4abe5faf11f4320d5d3f1d3d1715">getAction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a6daa674cb12ca6f22ce2d3c729be4da1">setAction</a> ($url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a5d5bd3618f30821a2e4d47904bc953df">getEncType</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a4f158371853245ed5aa13f41f767e053">setEncType</a> ($type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a328f731535e2ff17d7b86e29d0504a6d">addField</a> (<a class="el" href="class_input_field.html">InputField</a> $field)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#aff667c8e7e2da76ea9ba77bc12f20027">getFields</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#aec8caa38c3589796d01a5739d96b6e20">getFormId</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#aa822fe0868485133c40f78bd9ef786d5">setFormId</a> ($id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a69456610df7e91a761aa32ec907f7ba2">setFormLayout</a> ($layout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a9b40f68bfa0be5036e7be211f84dc8c2">getFormName</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#ac4cafdb7367c73f334e9366172c50aa0">setFormName</a> ($name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#af3e37e1a6ed9b8c87f86f659873a83b7">getMethod</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a643c65610f8b3179a8c147cab7cbb652">setMethod</a> ($method)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the method for the form.  <a href="#a643c65610f8b3179a8c147cab7cbb652"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a0683eb2bc0783fd8730e712998392887">renderHtmlForm</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a1df576b8d498ce74139bd6aac2248e9f">renderFormBegin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a50cccbf00a00d482fd340abb74c7959a">renderFormEnd</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a70ca4d03d1f0a9f0bfd9744a38484e73">getFieldNames</a> ($getActualNames=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a5526cb94373c4e23441f0122a1d9db34">getFormHeader</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a5bf9832f0bcf25a1bf5a8a044af0fd59">getFormFooter</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a597eefca57ef745962c2c14e3f9a35f5">isFormSubmitted</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if form has been submitted.  <a href="#a597eefca57ef745962c2c14e3f9a35f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#a16fd2e4964fca2fd2d6ca03cf3653bb8">formHandler</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function called (or should be called) when form passes validation.  <a href="#a16fd2e4964fca2fd2d6ca03cf3653bb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#afd78a8d9c8a6314882e898d6dc1727d9">validateFields</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes each field's verification methods.  <a href="#afd78a8d9c8a6314882e898d6dc1727d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_html_form.html#aae089e30bef6c4d08e97b8c041e0ad88">listErrors</a> (<a class="el" href="class_input_field.html">InputField</a> $field)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00029">29</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a269d5828259282d985bc517b484c0f26"></a><!-- doxytag: member="AbstractHtmlForm::__construct" ref="a269d5828259282d985bc517b484c0f26" args="($name=&quot;htmlform&quot;, $method=&quot;post&quot;, $action=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a269d5828259282d985bc517b484c0f26">__construct</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;htmlform&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>method</em> = <code>&quot;post&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>action</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="class_contact_form.html#a957776b4a9a6dab9acf3893b4fb980d0">ContactForm</a>.</p>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00041">41</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a328f731535e2ff17d7b86e29d0504a6d"></a><!-- doxytag: member="AbstractHtmlForm::addField" ref="a328f731535e2ff17d7b86e29d0504a6d" args="(InputField $field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a328f731535e2ff17d7b86e29d0504a6d">addField</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_input_field.html">InputField</a> $&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00078">78</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a16fd2e4964fca2fd2d6ca03cf3653bb8"></a><!-- doxytag: member="AbstractHtmlForm::formHandler" ref="a16fd2e4964fca2fd2d6ca03cf3653bb8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a16fd2e4964fca2fd2d6ca03cf3653bb8">formHandler</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [abstract, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience function called (or should be called) when form passes validation. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_abstract_html_form.html#afd78a8d9c8a6314882e898d6dc1727d9" title="Executes each field&#39;s verification methods.">validateFields()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_file_upload_form.html#a16fd2e4964fca2fd2d6ca03cf3653bb8">FileUploadForm</a>, <a class="el" href="class_text_editor_form.html#a16fd2e4964fca2fd2d6ca03cf3653bb8">TextEditorForm</a>, and <a class="el" href="class_contact_form.html#a16fd2e4964fca2fd2d6ca03cf3653bb8">ContactForm</a>.</p>

</div>
</div>
<a class="anchor" id="a189a4abe5faf11f4320d5d3f1d3d1715"></a><!-- doxytag: member="AbstractHtmlForm::getAction" ref="a189a4abe5faf11f4320d5d3f1d3d1715" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a189a4abe5faf11f4320d5d3f1d3d1715">getAction</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00050">50</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a5d5bd3618f30821a2e4d47904bc953df"></a><!-- doxytag: member="AbstractHtmlForm::getEncType" ref="a5d5bd3618f30821a2e4d47904bc953df" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a5d5bd3618f30821a2e4d47904bc953df">getEncType</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00068">68</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a70ca4d03d1f0a9f0bfd9744a38484e73"></a><!-- doxytag: member="AbstractHtmlForm::getFieldNames" ref="a70ca4d03d1f0a9f0bfd9744a38484e73" args="($getActualNames=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a70ca4d03d1f0a9f0bfd9744a38484e73">getFieldNames</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>getActualNames</em> = <code>false</code></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00088">88</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="aff667c8e7e2da76ea9ba77bc12f20027"></a><!-- doxytag: member="AbstractHtmlForm::getFields" ref="aff667c8e7e2da76ea9ba77bc12f20027" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#aff667c8e7e2da76ea9ba77bc12f20027">getFields</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00083">83</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a5bf9832f0bcf25a1bf5a8a044af0fd59"></a><!-- doxytag: member="AbstractHtmlForm::getFormFooter" ref="a5bf9832f0bcf25a1bf5a8a044af0fd59" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a5bf9832f0bcf25a1bf5a8a044af0fd59">getFormFooter</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [abstract, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="class_file_upload_form.html#a5bf9832f0bcf25a1bf5a8a044af0fd59">FileUploadForm</a>, <a class="el" href="class_text_editor_form.html#a5bf9832f0bcf25a1bf5a8a044af0fd59">TextEditorForm</a>, and <a class="el" href="class_contact_form.html#a5bf9832f0bcf25a1bf5a8a044af0fd59">ContactForm</a>.</p>

</div>
</div>
<a class="anchor" id="a5526cb94373c4e23441f0122a1d9db34"></a><!-- doxytag: member="AbstractHtmlForm::getFormHeader" ref="a5526cb94373c4e23441f0122a1d9db34" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a5526cb94373c4e23441f0122a1d9db34">getFormHeader</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [abstract, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="class_file_upload_form.html#a5526cb94373c4e23441f0122a1d9db34">FileUploadForm</a>, <a class="el" href="class_text_editor_form.html#a5526cb94373c4e23441f0122a1d9db34">TextEditorForm</a>, and <a class="el" href="class_contact_form.html#a5526cb94373c4e23441f0122a1d9db34">ContactForm</a>.</p>

</div>
</div>
<a class="anchor" id="aec8caa38c3589796d01a5739d96b6e20"></a><!-- doxytag: member="AbstractHtmlForm::getFormId" ref="aec8caa38c3589796d01a5739d96b6e20" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#aec8caa38c3589796d01a5739d96b6e20">getFormId</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00105">105</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9b40f68bfa0be5036e7be211f84dc8c2"></a><!-- doxytag: member="AbstractHtmlForm::getFormName" ref="a9b40f68bfa0be5036e7be211f84dc8c2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a9b40f68bfa0be5036e7be211f84dc8c2">getFormName</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00122">122</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="af3e37e1a6ed9b8c87f86f659873a83b7"></a><!-- doxytag: member="AbstractHtmlForm::getMethod" ref="af3e37e1a6ed9b8c87f86f659873a83b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#af3e37e1a6ed9b8c87f86f659873a83b7">getMethod</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00153">153</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a597eefca57ef745962c2c14e3f9a35f5"></a><!-- doxytag: member="AbstractHtmlForm::isFormSubmitted" ref="a597eefca57ef745962c2c14e3f9a35f5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a597eefca57ef745962c2c14e3f9a35f5">isFormSubmitted</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if form has been submitted. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>Whether or not array_intersect() is slower than in_array() is beyond me, but in_array() yielded bad (false) results. </dd></dl>

<p>Reimplemented in <a class="el" href="class_file_upload_form.html#a597eefca57ef745962c2c14e3f9a35f5">FileUploadForm</a>.</p>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00138">138</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="aae089e30bef6c4d08e97b8c041e0ad88"></a><!-- doxytag: member="AbstractHtmlForm::listErrors" ref="aae089e30bef6c4d08e97b8c041e0ad88" args="(InputField $field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#aae089e30bef6c4d08e97b8c041e0ad88">listErrors</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_input_field.html">InputField</a> $&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00241">241</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1df576b8d498ce74139bd6aac2248e9f"></a><!-- doxytag: member="AbstractHtmlForm::renderFormBegin" ref="a1df576b8d498ce74139bd6aac2248e9f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a1df576b8d498ce74139bd6aac2248e9f">renderFormBegin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00249">249</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a50cccbf00a00d482fd340abb74c7959a"></a><!-- doxytag: member="AbstractHtmlForm::renderFormEnd" ref="a50cccbf00a00d482fd340abb74c7959a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a50cccbf00a00d482fd340abb74c7959a">renderFormEnd</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00267">267</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0683eb2bc0783fd8730e712998392887"></a><!-- doxytag: member="AbstractHtmlForm::renderHtmlForm" ref="a0683eb2bc0783fd8730e712998392887" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a0683eb2bc0783fd8730e712998392887">renderHtmlForm</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="class_file_upload_form.html#a0683eb2bc0783fd8730e712998392887">FileUploadForm</a>, <a class="el" href="class_text_editor_form.html#a0683eb2bc0783fd8730e712998392887">TextEditorForm</a>, and <a class="el" href="class_contact_form.html#a0683eb2bc0783fd8730e712998392887">ContactForm</a>.</p>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00171">171</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6daa674cb12ca6f22ce2d3c729be4da1"></a><!-- doxytag: member="AbstractHtmlForm::setAction" ref="a6daa674cb12ca6f22ce2d3c729be4da1" args="($url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a6daa674cb12ca6f22ce2d3c729be4da1">setAction</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the path you want the data to be submitted to.</p>
<p>Normally, you do not need to set this, for the derived classes will do the work for you. However, if you want another form to handle the data, then set the action.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_abstract_html_form.html#a189a4abe5faf11f4320d5d3f1d3d1715">getAction()</a> </dd></dl>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00063">63</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a4f158371853245ed5aa13f41f767e053"></a><!-- doxytag: member="AbstractHtmlForm::setEncType" ref="a4f158371853245ed5aa13f41f767e053" args="($type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a4f158371853245ed5aa13f41f767e053">setEncType</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00073">73</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa822fe0868485133c40f78bd9ef786d5"></a><!-- doxytag: member="AbstractHtmlForm::setFormId" ref="aa822fe0868485133c40f78bd9ef786d5" args="($id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#aa822fe0868485133c40f78bd9ef786d5">setFormId</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00110">110</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a69456610df7e91a761aa32ec907f7ba2"></a><!-- doxytag: member="AbstractHtmlForm::setFormLayout" ref="a69456610df7e91a761aa32ec907f7ba2" args="($layout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a69456610df7e91a761aa32ec907f7ba2">setFormLayout</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>layout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00117">117</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac4cafdb7367c73f334e9366172c50aa0"></a><!-- doxytag: member="AbstractHtmlForm::setFormName" ref="ac4cafdb7367c73f334e9366172c50aa0" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#ac4cafdb7367c73f334e9366172c50aa0">setFormName</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00127">127</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="a643c65610f8b3179a8c147cab7cbb652"></a><!-- doxytag: member="AbstractHtmlForm::setMethod" ref="a643c65610f8b3179a8c147cab7cbb652" args="($method)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#a643c65610f8b3179a8c147cab7cbb652">setMethod</a> </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the method for the form. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$method</td><td>Recognized values are: "post" and "get." Only one may be set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_abstract_html_form.html#a597eefca57ef745962c2c14e3f9a35f5" title="Check if form has been submitted.">isFormSubmitted()</a> </dd>
<dd>
<a class="el" href="class_abstract_html_form.html#af3e37e1a6ed9b8c87f86f659873a83b7">getMethod()</a> </dd></dl>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00165">165</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<a class="anchor" id="afd78a8d9c8a6314882e898d6dc1727d9"></a><!-- doxytag: member="AbstractHtmlForm::validateFields" ref="afd78a8d9c8a6314882e898d6dc1727d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_html_form.html#afd78a8d9c8a6314882e898d6dc1727d9">validateFields</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes each field's verification methods. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if all is green; false otherwise.</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>To avoid problems with user-friendly values (e.g. "http://"), this method should be reimplemented. </dd></dl>

<p>Definition at line <a class="el" href="formtypes_8formgenerator_8php_source.html#l00220">220</a> of file <a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/reeko5k/www/tfcms/modules/<a class="el" href="formtypes_8formgenerator_8php_source.html">formtypes.formgenerator.php</a></li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_abstract_html_form.html">AbstractHtmlForm</a>      </li>

    <li class="footer">Generated on Mon Aug 6 2012 13:10:01 for TFCMS by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
